//
//  HMExpresssionModel.swift
//  HMSlender
//
//  Created by 赵少朋赵少朋 on 2017/2/16.
//  Copyright © 2017年 ITheima. All rights reserved.
//

import UIKit

class HMExpresssionModel: NSObject {

    var code: String? {
    
        didSet {
            
            emojiText = ((code ?? "") as NSString).emoji()
            
        }
    }
    
    var type: String? {
    
        didSet {
        
            isEmoji = type == "1"
        }
    }
    
    var isEmoji: Bool?
    var emojiText: String?
    var png: String?
    var chs: String?
    var path: String?
}
